package com.play.common.dto.map;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @description:
 * @author: ChenYunChou
 * @time: 2021/10/17 2021
 */
@Data
public class UserMap {

    /**
     * userId
     */
    private Long userId;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 纬度
     */
    private String latitude;

    /**
     * 相差距离
     */
    private Double distance;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
